#ifndef __WATCHPOINT_H__
#define __WATCHPOINT_H__

#include "common.h"

typedef struct watchpoint {
	int NO;
	struct watchpoint *next;

	/* TODO: Add more members if necessary */
        int value;
        char expr[100];

} WP;

void free_wp(WP*);
WP* new_wp();
void check_wp(bool*);
WP* delete_wp(int, bool*);
void print_wp();
#endif
